import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '类别',
    align: "center",
    dataIndex: 'cateId_dictText'
  },
  {
    title: '字段名称',
    align: "center",
    dataIndex: 'paramName'
  },
  {
    title: '取值字典',
    align: "center",
    dataIndex: 'paramDict'
  },
  {
    title: '字段值',
    align: "center",
    dataIndex: 'paramValue'
  },
];

// 高级查询数据
export const superQuerySchema = {
  cateId: {title: '类别',order: 0,view: 'list', type: 'string',dictTable: "sys_param_category", dictCode: 'id', dictText: 'category_name',},
  paramName: {title: '字段名称',order: 1,view: 'text', type: 'string',},
  paramDict: {title: '取值字典',order: 2,view: 'text', type: 'string',},
  paramValue: {title: '字段值',order: 3,view: 'text', type: 'string',},
};
